#!/bin/sh
#

#if [ "$NETSCAPE_CATALYST" != "" ]; then
#	if [ -r $NETSCAPE_CATALYST ]; then
#		echo "Netscape is starting: using  "$NETSCAPE_CATALYST "..."
#		$NETSCAPE_CATALYST -xrm "*useStderrDialog: False" -xrm "*strings.22130:This process will launch\nan installation from the $ISSUE_NAME.\n\nProceed?\n" -geometry =620x775+0+0 $WWW_FIRST 2>&-
#	else
#		echo "Cannot execute $NETSCAPE_CATALYST";
#	fi
#else
#	echo "Netscape is starting... "	
#	echo ""	
#	echo ""	


#LAUNCH_NETSCAPE=`which netscape`
LAUNCH_IE="/home/jasoni/ie5/bin/iexplorer"
echo "Launching Internet explorer from $LAUNCH_IE"
$LAUNCH_IE $WWW_FIRST
#$CD_MOUNT/products/.bin/gui/$CDWARE_ENV/netscape$OS_REV -xrm "*useStderrDialog: False" -xrm "*strings.22130:This process will launch\nan installation from the $ISSUE_NAME.\n\nProceed?\n" -geometry =620x775+0+0 $WWW_FIRST 
		#$CD_MOUNT/.products/.bin/gui/$CDWARE_ENV/netscape$OS_REV -xrm "*useStderrDialog: False" -xrm "*strings.22130:This process will launch\nan installation from the $ISSUE_NAME.\n\nProceed?\n" -geometry =600x775+0+0 $WWW_FIRST 2>&-
#fi

#
# clean-up
#
#if [ -f $DISC_DIR/nostart ];then
#        # kill sound
#        if [ -r $DISC_DIR/sound.pid ]; then
#        kill -9 `cat $DISC_DIR/sound.pid`
#        fi
#        rm -r $DISC_DIR
#        exit 0
#fi
#
#if [ -w /dev/audio -a ! -f $DISC_DIR/noplay ]; then 
#	if [ $CDWARE_ENV != "Solaris_1" ]; then
#        	audioplay -i $CD_MOUNT/products/bin/gui/audio/thanks.au&
#	else
#        	cat $CD_MOUNT/products/bin/gui/audio/thanks.au > /dev/audio&
#	fi
#fi
## kill httpd
#if [ -r $DISC_DIR/logs/httpd.pid ]; then
#	kill -9 `cat $DISC_DIR/logs/httpd.pid`
#fi
#     echo ""
#     echo "Shutting down NetResults server..."
#     echo ""
#     echo "" 
#     kill -9 `cat $DISC_DIR/nrserver.pid`
#
#
#if [ -h $HOME/.netscape/lock ]; then
#	echo "Netscape seems to have crashed. Removing $HOME/.netscape/lock file."
#	echo
#	rm -rf $HOME/.netscape/lock
#fi
#
#
## remove httpd config
#if [ -d $DISC_DIR ]; then
#	echo "removing $DISC_DIR directory"
#	rm -rf $DISC_DIR
#fi
#
## remove .netscape dir if exists 
## remove .netscape
#if [ "$dir_exist" = "0" ]; then 
#        rm -rf $HOME/.netscape 
#fi
## no "else" was used here  
#if [ "$dir_exist" = "1" ]; then
#        cp $HOME/.netscape.solcd/preferences.js $HOME/.netscape
#        rm -rf $HOME/.netscape.solcd
#fi
#
#
#echo ""
#echo ""

exit 0
